#include <stdio.h>

#define BUFSIZE 256

int main(int argc, char **argv)
{
	FILE *fp = NULL;
	char buf[BUFSIZE] = {};

	if (argc < 2)
		return 1;

	fp = fopen(argv[1], "r");
	if (NULL == fp) return 1;

	fseek(fp, 10, SEEK_SET);

	fread(buf, 1, 10, fp);

	puts(buf);

	fclose(fp);

	return 0;
}
